﻿
using System.Windows.Forms;
using System;

namespace Library.Winform.Draw.Tools {
  public class ToolDrawEllipse : ToolDrawRectangle
  {
    protected static Type ToolDrawEllipseType = typeof (ToolDrawEllipse);
    public ToolDrawEllipse() { Cursor = new Cursor(ToolDrawRectangleType, "Ellipse.cur"); }
    protected override ObjectDraw CreateObjectOnMouseDown(IDrawContainer container, ScrollMouseEventArgs e) {
      return new EllipseDraw(e.X, e.Y, 1, 1);
    }
  }
}
